package com.yf.jnic2java;

public class Jni {
	static {
		System.loadLibrary("ccalljava");
	}
	
	public void helloJava(){
		System.out.println("helloJava");
	}
	
	public int add(int x, int y){
		return x + y;
	}
	
	public void printStr(String s) {
		System.out.println(s);
	}
	
	public native void callNVoid();
	public native void callNInt();
	public native void callNStr();
}
